<?php
/**
 * Created by PhpStorm.
 * User: kb130
 * Date: 2017/8/18
 * Time: 15:11
 */

namespace util\validate\rules;

/**
 * 验证值是否在一个范围内
 *
 * Class In
 * @package util\validate\rules
 */
class In extends BaseRule
{
    public function verify()
    {
        return in_array($this->value, $this->params);
    }
}